package kz.pompei.var.atom.concretes;

import java.util.ArrayList;
import java.util.List;

import kz.pompei.var.atom.Atom;
import kz.pompei.var.atom.AtomReciever;

public class TestAtomCollector implements AtomReciever {
  private final List<Atom> list = new ArrayList<Atom>();
  
  @Override
  public void recieve(Atom atom) {
    list.add( atom );
  }
  
  public List<Atom> getList() {
    return list;
  }
  
}
